package com.shiliuzi.www.pojo.vo.download;

import com.shiliuzi.www.pojo.po.RecordDefault;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
public class DownloadExcelJudgeVo {

    @Data
    @NoArgsConstructor
    public static class DownloadExcelCheckVo extends RecordDefault {

        /**
         * 类型id
         */
        private Integer classId;

        /**
         * 用户id
         */
        private Integer userId;

        /**
         * 姓名
         */
        private String userName;

        /**
         * 年级
         */
        private Integer grade;

        /**
         * 学号
         */
        private String number;

        /**
         * 奖惩日期
         */
        private String date;

        /**
         * 奖惩内容
         */
        private String content;

        /**
         * 奖惩原因
         */
        private String reason;

        /**
         * 奖惩金额
         */
        private String money;

        /**
         * 奖惩备注
         */
        private String comment;

        /**
         * 用于展示数据
         * @param classId
         * @param userId
         * @param userName
         * @param grade
         * @param number
         * @param date
         * @param content
         * @param reason
         * @param money
         * @param comment
         */
        public DownloadExcelCheckVo(Integer classId, Integer userId, String userName, Integer grade, String number, String date, String content, String reason, String money, String comment) {
            super(classId, userId, userName, grade, number, date, content, reason, money, comment);
        }
    }

    private List<DownloadExcelCheckVo> downloadExcelCheckVos;

    /**
     * 总页数
     */
    private Integer pageTotal;

    /**
     * 当前页数
     */
    private Integer pageExist;
}
